package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.Customers;

import java.util.List;
/*
* 客户数据业务处理
* */
public interface ICustomerService {

    //新增客户
    Customers insert(Customers customers);

    //编辑客户
    Customers update(Customers customers);

    //删除客户
    int delete(Integer id);

    //通过ID查询单个客户数据
    Customers getByID(Integer id);

    //通过分页查询列表
    IPage<Customers> getListByPage(IPage page, Customers customers);

    //查询列表
    List<Customers> getList(Customers customers);

}
